/*
package com.it.web.bus;
import com.it.order.api.OrderApi;
import com.it.order.vo.OrderVO;
import com.it.web.config.Result;
import com.it.web.controller.bo.OrderBusBO;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
@Service
public class OrderBusService {
    //订单服务
    @DubboReference(version = "${order.service.version}")
    private OrderApi orderApi;

    */
/**
     * 查询商品
     *
     * @return
     *//*

    public Result queryOrderById(long orderId) {
        Result result = new Result();
        OrderVO orderVO = orderApi.queryOrderByOrderId(orderId);
        result.setData(orderVO);
        return result;
    }

    */
/**
     * 添加商品
     *
     * @return
     *//*

    public Result addOrder(OrderBusBO orderBusBO) {
        Result result = new Result();
        OrderVO orderVO = new OrderVO();
        BeanUtils.copyProperties(orderBusBO, orderVO);
        orderApi.addOrder(orderVO);
        return result;
    }

    */
/**
     * 删除商品
     *
     * @return
     *//*

    public Result delOrder(long orderId) {
        Result result = new Result();
        orderApi.delOrder(orderId);
        return result;
    }

    */
/**
     * 修改商品
     *
     * @return
     *//*

    public Result updateOrder(OrderBusBO orderBusBO) {
        Result result = new Result();
        OrderVO orderVO = new OrderVO();
        BeanUtils.copyProperties(orderBusBO, orderVO);
        orderApi.updateOrderStatusById(orderVO);
        return result;
    }
}
*/
